package lc.activiti.contract.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import lc.activiti.contract.entity.BrowsePermission;
import lc.activiti.contract.entity.Contract;
import lc.activiti.contract.entity.Users;

public interface ICommonQueryDao {
	List<Users> selectUsersByRoleType(@Param("roleTypeId")Integer roleTypeId);
	List<BrowsePermission> selectContracBrowsePerssiontByContractId(@Param("contractId") String contractId);
	Boolean isForensic(@Param("roleTypeId")Integer roleTypeId,@Param("userId") String userId);
	Contract getContractByBrowsePermissionId(@Param("browsePermissionId") String businessId);
}
